/*
 * @Author       : xh
 * @Date         : 2022-10-11 10:24:46
 * @LastEditors: y001554
 * @FileName     :
 */
import type { App } from 'vue'
import FormInstall, { Form } from './components/form'
import SearchInstall, { Search } from './components/search'
import TableInstall, { Table } from './components/table'
import PagesInstall, { Pages } from './components/pages'
import DialogInstall, { Dialog, MpDialog } from './components/dialog'
import CitySelectInstall, { CitySelect } from './components/citySelect'
import TreeInstall, { Tree } from './components/tree'
import './styles/theme.scss'
import './styles/reset.scss'
const installs = [
  TreeInstall,
  CitySelectInstall,
  PagesInstall,
  FormInstall,
  TableInstall,
  SearchInstall,
  DialogInstall
]

export { Tree, CitySelect, Form, Table, Pages, Search, MpDialog, Dialog }
// console.log(333,ButtonInstall,Button)
export default {
  install(app: App): void {
    // alert(0)
    installs.forEach((p) => app.use(p))
  }
}
